/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mancala;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

/**
 *
 * @author joshuasiebenaler
 */
public class HolePlacementAlgorithmRBTest1 {
    
    public HolePlacementAlgorithmRBTest1() {
    }
    
    @BeforeClass
    public static void setUpClass() {
    }
    
    @AfterClass
    public static void tearDownClass() {
    }
    
    @Before
    public void setUp() {
    }
    
    @After
    public void tearDown() {
    }

    /**
     * Test of ResetBoard method, of class HolePlacementAlgorithm.
     */
    @Test
    public void testResetBoard() {
        System.out.println("ResetBoard");
        int[] ReturnHoleValues = new int [16];
        int[] expResult = new int[16];
        
        ReturnHoleValues[0] = 2;
        ReturnHoleValues[1] = 2;
        ReturnHoleValues[2] = 2;
        ReturnHoleValues[3] = 2;
        ReturnHoleValues[4] = 2;
        ReturnHoleValues[5] = 2;
        ReturnHoleValues[6] = 2;
        ReturnHoleValues[7] = 2;
        ReturnHoleValues[8] = 2;
        ReturnHoleValues[9] = 2;
        ReturnHoleValues[10] = 2;
        ReturnHoleValues[11] = 2;
        ReturnHoleValues[12] = 2;
        ReturnHoleValues[13] = 2;
        ReturnHoleValues[14] = 2;
        ReturnHoleValues[15] = 2;
         
        
        
        expResult[0] = 7;
        expResult[1] = 7;
        expResult[2] = 7;
        expResult[3] = 7;
        expResult[4] = 7;
        expResult[5] = 7;
        expResult[6] = 7;
        expResult[7] = 7;
        expResult[8] = 7;
        expResult[9] = 7;
        expResult[10] = 7;
        expResult[11] = 7;
        expResult[12] = 7;
        expResult[13] = 7;
        expResult[14] = 7;
        expResult[15] = 7;
        
        int[] result = HolePlacementAlgorithm.ResetBoard(ReturnHoleValues);
        assertArrayEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
     
    }

    
    
}
